
package kvsnode;

import java.util.Collection;
import java.util.Map;
import java.util.Properties;


/**
 * The implementation of KVSNode for virtual nodes.
 * 
 * @version 5/9/2013
 */
public class VirtualKVSNodeImpl extends AbstractKVSNode
{

  /**
   * Construct the virtual node.
   * 
   * @param the_properties the property object having configuration information.
   * @param the_node_id the node id for this node.
   * @param the_actual_node_id the actual node id.
   */
  public VirtualKVSNodeImpl(final Properties the_properties, final int the_node_id,
                            final int the_actual_node_id)
  {
    super(the_properties);
    setActualNodeId(the_actual_node_id);
    setNodeId(the_node_id);
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public void runNode()
  {
    
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public boolean importData(final Map<Integer, Collection<Object>> the_node_data_map)
  {
    return false;
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public Collection<Object> exportData(final int the_node_id)
  {
    return null;
  }

}
